<h2>Current snapshots</h2>

<?php if (count($this->snapshots) == 0) { ?>
	<p>There are no snapshots for this store at present.</p>
<?php } else { ?>
	<ul>
		<?php foreach ($this->snapshots as $snapshotUri) { ?>
			<li><a href="<?php echo $snapshotUri; ?>"><?php echo $snapshotUri; ?></a>&nbsp;[<a href="/store/restore?snapshotUri=<?php echo urlencode($snapshotUri); ?>">Restore</a>]</li>
		<?php } ?>
	</ul>
<?php } ?>

<br/>

<div>
	<a href="/store/snapshot">Take a snapshot</a>
</div>
